﻿using System;
using System.Collections.Generic;
using System.Text;
using Autodesk.AutoCAD.Interop.Common;
using System.Threading;

namespace MyCadDll
{
    public class ThreadPoolObject:object
    {
        //AcadObject acadobj;
        ManualResetEvent manuaE;
        int m_start;

        public int Start
        {
            get { return m_start; }
            set { m_start = value; }
        }
        int m_end;

        public int End
        {
            get { return m_end; }
            set { m_end = value; }
        }
        public ManualResetEvent ManuaE
        {
            get { return manuaE; }
            set { manuaE = value; }
        } 
        //public AcadObject Acadobj
        //{
        //    get { return acadobj; }
        //    set { acadobj = value; }
        //}

        //public ThreadPoolObject(AcadObject obj,int start,int end)
        //{
        //    acadobj = obj;
        //    ManuaE = new ManualResetEvent(false);
        //    Start = start;
        //    End = end;
        //}

        public ThreadPoolObject(int start, int end)
        {
            ManuaE = new ManualResetEvent(false);
            Start = start;
            End = end;
        }
    }
}
